Skip to main content

Join PDF Files

AutomatR.DefaultActivities.PDF.JoinPDFFiles

The "Join PDF Files" activity in AutomatR facilitates the merging of multiple PDF files into a single PDF document. This activity proves useful when consolidating information from various PDF sources into one unified file, streamlining document management in automation workflows.

Properties

NameDescription
Input
File ListAn array of strings containing the full path of all the PDF files to join into one. String array variables specifying the PDF file paths.
Output File NameThe name along with the path for the resulting PDF file after joining the input files. String variables containing the output PDF file name.
OverwriteWhen selected, overwrites the file that is merged if it already exists. Boolean variables to determine whether to overwrite existing files.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variable or argument containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Join PDF Files" activity. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Join PDF Files" activity onto the workflow.
  2. Configure the properties by providing an array of PDF file paths to be joined, specifying the output file name, and indicating whether to overwrite existing files.
  3. Optionally, configure the delay.
  4. Execute the workflow to merge the specified PDF files into a single PDF document.

Example: Consider an example where the "Join PDF Files" activity is used to merge three PDF files into a single document:

Join PDF Files:
File List: ["C:\Documents\File1.pdf", "C:\Documents\File2.pdf", "C:\Documents\File3.pdf"]
Output File Name: "C:\MergedDocuments\MergedFile.pdf"
Overwrite: True

In this example, the activity merges three PDF files ("File1.pdf," "File2.pdf," and "File3.pdf") into a single PDF document named "MergedFile.pdf" at the specified output path. The "Overwrite" property is set to true, allowing the activity to overwrite the output file if it already exists.